<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
</head>
<body>
<h1>登录页</h1>

<form action="login" method="post">

用户名<input type="text" name="stname" >
密码<input type="password" name="stpass">
<input type="submit" value="登录">
</form>
</body>
</html>